package com.atshiyou.bean;

import java.util.Date;

public class Bills {
    private Integer id;

    private String title;

    private Date billtime;

    private String typeid;

    private Double price;

    private String explains;

    private BillType billType;

    public BillType getBillType() {
        return billType;
    }

    public void setBillType(BillType billType) {
        this.billType = billType;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title == null ? null : title.trim();
    }

    public Date getBilltime() {
        return billtime;
    }

    public void setBilltime(Date billtime) {
        this.billtime = billtime;
    }

    public String getTypeid() {
        return typeid;
    }

    public void setTypeid(String typeid) {
        this.typeid = typeid == null ? null : typeid.trim();
    }

    public Double getPrice() {
        return price;
    }

    public void setPrice(Double price) {
        this.price = price;
    }

    public String getExplains() {
        return explains;
    }

    @Override
    public String toString() {
        return "Bills{" +
                "id=" + id +
                ", title='" + title + '\'' +
                ", billtime=" + billtime +
                ", typeid='" + typeid + '\'' +
                ", price=" + price +
                ", explains='" + explains + '\'' +
                ", billType=" + billType +
                '}';
    }

    public void setExplains(String explains) {
        this.explains = explains == null ? null : explains.trim();
    }
}